package com.liusj.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Administrator on 2018/4/17 0017.
 */
@RestController
public class TestController {

    Logger logger = LoggerFactory.getLogger(TestController.class);
    @RequestMapping("/")
    public String helloworld() {
        logger.info("----0000----");
        System.out.println("=====1111111====");
        return "hello wordld sfsdf!";
    }
}
